Intersoft WebTextEditor Documentation
How-to: Integrate WebTextEditor in FormView
See Also Send Feedback
Intersoft WebTextEditor > WebTextEditor > Data Binding > How-to: Integrate WebTextEditor in FormView

Glossary Item Box

WebTextEditor can be integrated in FormView control.

In this topic, you will learn how to integrate WebTextEditor in FormView.

To integrate WebTextEditor in FormView

  1. Create a FormView with bounded customer data from Northwind.mdb.
  2. In EditItemTemplate and InsertItemTemplate, drag the WebTextEditor instance from the Toolbox to the EditItemTemplate FormView.



  3. Set the EnableHTMLView property to false and EnableSplitView property to false under ViewSettings; ToolbarMode property to Minimal under ToolbarSettings; Enabled property to False under TaskPaneSettings >> MediaGallery, for both WebTextEditor in order to have a simpler look.
  4. Set the content property in WebTextEditor to bind the FormView field in the source view. Here is the snippet:
    <ISWebTextEditor:WebTextEditor ID="WebTextEditor1" runat="server" Height="200px" Width="500px" Content='<%# Bind("Address") %>'>
        <TaskPaneSettings>
            <MediaGallery Enabled="false" />
        </TaskPaneSettings>
        <ViewSettings EnableHTMLView="false" EnableSplitView="false" />
        <ToolBarSettings ToolBarMode="Minimal" />
    </ISWebTextEditor:WebTextEditor>
    

See Also

©2013. All Rights Reserved.